/******************************************************************************
* DISCLAIMER:
* The software supplied by Renesas Technology Europe Ltd is
* intended and supplied for use on Renesas Technology products.
* This software is owned by Renesas Technology Europe, Ltd. Or
* Renesas Technology Corporation and is protected under applicable
* copyright laws. All rights are reserved.
*
* THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS,
* IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* APPLY TO THIS SOFTWARE. RENESAS TECHNOLOGY AMERICA, INC. AND
* AND RENESAS TECHNOLOGY CORPORATION RESERVE THE RIGHT, WITHOUT
* NOTICE, TO MAKE CHANGES TO THIS SOFTWARE. NEITHER RENESAS
* TECHNOLOGY AMERICA, INC. NOR RENESAS TECHNOLOGY CORPORATION SHALL,
* IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
* CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER ARISING OUT OF THE
* USE OR APPLICATION OF THIS SOFTWARE.
******************************************************************************/

/* Copyright (C) 2010. Unicon System, All Rights Reserved */

/*""FILE COMMENT""******************************* Technical reference data ****
* File Name	: resetprg.h
* Version 	: 1.00
* Device 	: SH72543
* Tool Chain 	: 
* H/W Platform	: 
* Description 	: Header file for reset program
*******************************************************************************/

/******************************************************************************
* History 	: 25.05.2011 Ver. 1.00 First Release
*""FILE COMMENT END""*********************************************************/

#ifndef RESETPRG_H
#define RESETPRG_H

/******************************************************************************
Macro Defines
******************************************************************************/
#define FPSCR_Init    	0x00040001
#define SR_Init    	0x000000F0
#define INT_OFFSET 	0x10

/******************************************************************************
Function Declarations
******************************************************************************/
void PowerON_Reset_PC(void);
void Manual_Reset_PC(void);
extern void main(void);
extern void HardwareSetup(void);
extern void set_stack_addr(void);

/******************************************************************************
External References
******************************************************************************/
extern unsigned short INT_Vectors;

#endif 
